package com.oss.config;

/**
 * @Author Tanyu
 * @Date 2020/6/4 14:24
 * @Description 阿里云OSS存储的相关常量配置.我这里通过常量类来配置的，当然你也可以通过.properties 配置文件来配置，
 *  * 然后利用 SpringBoot 的@ConfigurationProperties 注解来注入
 * @Version 1.0
 */
public class AliyunOSSConfigConstant {
  //私有构造方法 禁止该类初始化
  private AliyunOSSConfigConstant() {
  }

  //仓库名称
  public static final String BUCKE_NAME = "tanyubucket1";
  //地域节点
  public static final String END_POINT = "oss-cn-shanghai.aliyuncs.com";
  //AccessKey ID
  public static final String AccessKey_ID = "LTAI4G2fi1Anxb52d86if1dB";
  //Access Key Secret
  public static final String AccessKey_Secret = "UTAJpJADOtiSLdUiDBBzywjoIxGs1w";
  //仓库中的某个文件夹
  public static final String FILE_HOST = "userImg";
}
